package cn.controller;

import cn.utils.SMSUtils;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@CrossOrigin
@RequestMapping("/public")
public class HealthPublicController {

    @PostMapping("/verify")
    public Map<String, Object> sendVerify(String phone) {
        return SMSUtils.sendVerify(phone);
    }
}
